#include "SALT_Config.h"

#include "SALT_DrawableEventObject.h"

namespace SALT{
	namespace Objects{
		Point	createPoint(SALT::Objects::DrawableObject* dobj,Point* p){
			Point rp(0,0);
			if(p!=NULL)
				rp=Point(p->x,p->y);
			else
				rp=Point(0,0);
			rp(dobj->origin());
			rp(dobj->position());
			return rp;
		}
	}
}